package model.entity.novel;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/6/4
 * @description 首页轮播图实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class CarouselSlide {
    @Schema(description = "轮播图ID")
    private Integer slideId;

    @Schema(description = "轮播图标题")
    private String title;

    @Schema(description = "轮播图图片URL")
    private String imageUrl;

    @Schema(description = "展示顺序，数值越小越靠前")
    private Integer displayOrder;

    @Schema(description = "开始展示时间")
    private Date startTime;

    @Schema(description = "结束展示时间")
    private Date endTime;

    @Schema(description = "是否启用")
    private Boolean isActive;

    @Schema(description = "创建时间")
    private Date createTime;
}    